package com.ruoyi.system.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 机构资质对象 sys_org_certificate
 * 
 * @author ruoyi
 * @date 2023-02-07
 */
@ApiModel("机构资质")
public class SysOrgCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证书id */
    private Long certificateId;

    /** 证书名称 */
    @Excel(name = "证书名称")
    private String certificateName;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNumber;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 状态 0=正常 1=停用 */
    @Excel(name = "状态 0=正常 1=停用")
    private String status;

    /** 附件id */
    @Excel(name = "附件id")
    private Long fileId;

    public void setCertificateId(Long certificateId)
    {
        this.certificateId = certificateId;
    }

    public Long getCertificateId()
    {
        return certificateId;
    }

    public void setCertificateName(String certificateName)
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setCertificateNumber(String certificateNumber) 
    {
        this.certificateNumber = certificateNumber;
    }

    public String getCertificateNumber() 
    {
        return certificateNumber;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("certificateId", getCertificateId())
            .append("orgId", getOrgId())
            .append("certificateName", getCertificateName())
            .append("certificateNumber", getCertificateNumber())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("status", getStatus())
            .append("fileId", getFileId())
            .append("createUserId", getCreateUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
